import 'package:json_annotation/json_annotation.dart';

part 'HotKeyItem.g.dart';

/// **************************************************************************
/// 热门搜索Item的数据
/// **************************************************************************

@JsonSerializable()
class HotKeyItem {
  int id;

  String name;

  HotKeyItem();

  factory HotKeyItem.fromJson(Map<String, dynamic> json) =>
      _$HotKeyItemFromJson(json);

  Map<String, dynamic> toJson() => _$HotKeyItemToJson(this);
}
